home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000021_news@newsmaster….columbia.edu _Sat Jul 5 12:37:28 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA02823
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 5 Jul 1997 12:37:28 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA04763
  7.     for kermit.misc@watsun; Sat, 5 Jul 1997 12:37:27 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: using telnet and MS-Kermit
  12. Date: 5 Jul 1997 16:37:27 GMT
  13. Organization: Columbia University
  14. Lines: 29
  15. Message-ID: <5plt87$4kp$1@newsmaster.cc.columbia.edu>
  16. References: <31dabc20.0@dcez3.nicom.com> <5pgrmd$d4b$1@newsmaster.cc.columbia.edu> <uu3i8mwgy.fsf@donal.kintailrd>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:7266
  19.  
  20. In article <uu3i8mwgy.fsf@donal.kintailrd>,
  21. Bruce Cook  <BC3-AU@bigfoot.com> wrote:
  22. : fdc@watsun.cc.columbia.edu (Frank da Cruz) writes:
  23. : > If you can make a Telnet connection with MS-DOS Kermit by hand, then
  24. : > you can do it in a script:
  25. : > 
  26. : >   ; Give TCP/IP setup commands here
  27. : >   set port tcp xyzcorp.com
  28. : >   pause 0
  29. : >   if fail stop 1 Can't make connection
  30. : > 
  31. : > This is equivalent to the following in C-Kermit or K95:
  32. : > 
  33. : >   set network type tcp/ip
  34. : >   set set host xyzcorp.com
  35. : >   if fail stop 1 Can't make connection
  36. : Alternative that works in either (pre-defined script):
  37. : telnet xyzcorp.com
  38. TELNET is not a built-in command in MS-DOS Kermit.  It's a
  39. macro that is defined only if the user executed the standard
  40. MSKERMIT.INI file.  And TELNET includes an implied CONNECT,
  41. which is not always what you want in a script program.  In
  42. fact, using TELNET rather than SET HOST (or SET PORT TCP) in
  43. a login script is the most common script-writing error.
  44.  
  45. - Frank